package com.qqt.csr.im.socketio.channel;

import io.netty.channel.Channel;

public class SocketIOChannelInitializer extends com.corundumstudio.socketio.SocketIOChannelInitializer {

    public static final String HTTP_HEALTH_URL_HANDLER = "HttpHealthyUrlBlocker";

    @Override
    protected void initChannel(Channel ch) throws Exception {
        super.initChannel(ch);
        ch.pipeline().addBefore(WRONG_URL_HANDLER, HTTP_HEALTH_URL_HANDLER, new HttpHealthyUrlHandler());
    }
}
